//
//  NSObject+JSTest.m
//  JSTest
//
//  Created by BAP_0006 on 2018/4/9.
//  Copyright © 2018年 BAP_0006. All rights reserved.
//

#import "NSObject+JSTest.h"

#import <JavaScriptCore/JavaScriptCore.h>

@implementation NSObject (JSTest)

- (void)webView:(id)unuse didCreateJavaScriptContext:(JSContext *)ctx forFrame:(id)frame{
    [[NSNotificationCenter defaultCenter]postNotificationName:@"DidCreateContextNotification" object:ctx];
}

@end
